﻿@using (Html.BeginForm())
{
    <div class="modal-body">
        <p>
            订单原价(不含运费)：427.00 元</p>
        <p>
            <strong>请选择关闭该交易的理由：</strong></p>
       <div></div>

    </div>
    <div class="modal-footer">
        <p id="memo-message" class="pull-left color-red">
        </p>
        <a class="btn" href="#" data-dismiss="modal">关闭</a>
        <button type="button" class="btn btn-primary" onclick="submitMemo(this.form)">
            确 认</button>
    </div>
}
<script type="text/javascript">
    function submitMemo(form) {
        var param = $(form).serialize();
        $.postJSON(form.action, param, function (result) {
            if (result.Status == false) {
                //alert(result.Message);
                $('#memo-message').html(result.Message);
            }
            else {
                $('#memo-message').css('color', 'green').html("备忘已成功保存！");
            }
        });
    }
</script>
